package com.matt.foundation.vo.children;
import lombok.Data;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

/**
 * *******************************
 * Created by lch.
 * form com.matt
 * on 2018/12/18
 * *******************************
 */
@Data
public class WeekNurseryScheduleVo {

    private Date beginDate;

    private Date endDate;

    private String classesId;

    private String childName;

    private String childHeadUrl;

    private String areaName;

    private List<DailyScheduleVo> dailyScheduleVoList = new ArrayList<>();

    public static WeekNurseryScheduleVo of(Date beginDate, Date endDate,String classesId, String childName, String childHeadUrl, String areaName,List<DailyScheduleVo> dailyScheduleVoList) {
        WeekNurseryScheduleVo vo = new WeekNurseryScheduleVo();
        vo.setBeginDate(beginDate);
        vo.setEndDate(endDate);
        vo.setClassesId(classesId);
        vo.setChildName(childName);
        vo.setChildHeadUrl(childHeadUrl);
        vo.setAreaName(areaName);
        vo.setDailyScheduleVoList(dailyScheduleVoList);
        return vo;
    }
}
